<template>
  <div class="main">
    <el-page-header @back="goBack" content="详情页面">
    </el-page-header>
    <div style="margin-top:50px">
    <span style="text-align:left;">
      <h2>个人认证简介</h2>
      {{intro}}
      <h2>个人材料</h2>
       
    </span>
    <div style="height:800px">
      <iframe style="width: 100%; height: 100%" :src="'/pdfjs-2.14.305-legacy-dist/web/viewer.html?file='+src" title="myFrame"></iframe>
    </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "IdentityCard",
  data() {
    return {
      intro:this.$route.params.intro,
      src:this.$route.params.src,
      };
  },

  methods:{
    goBack() {
        window.history.go(-1)
    }
  },
  mounted(){
    console.log(this.intro)
  }
};
</script>

<style>
.main {
  margin-left: 5%;
  margin-right: 5%;
  text-align: left;
}

.abstract {
  color: #919fb5;
  text-align: left;
}
</style>
